<?php
/**
 * Created by PhpStorm.
 * User: zhangrongxiang
 * Date: 2017/6/1
 * Time: 下午3:22
 */

const LEVEL_ERROR = 0x01;
const LEVEL_WARNING = 0x02;
const LEVEL_INFO = 0x04;
const LEVEL_TRACE = 0x08;
const LEVEL_PROFILE = 0x40;
const LEVEL_PROFILE_BEGIN = 0x50;
const LEVEL_PROFILE_END = 0x60;

echo sprintf("%d\n",LEVEL_ERROR);
echo sprintf("%d\n",LEVEL_WARNING);
echo sprintf("%d\n",LEVEL_INFO);
echo sprintf("%d\n",LEVEL_TRACE);
echo sprintf("%d\n",LEVEL_PROFILE);  //64
echo sprintf("%d\n",LEVEL_PROFILE_BEGIN);//80
echo sprintf("%d\n",LEVEL_PROFILE_END); //96

